package com.molichuxing.services.infrastructure.bean;

import com.molichuxing.framework.bean.RootBean;

import java.math.BigDecimal;
import java.time.LocalDateTime;

public class EnterpriseCarTransferBean extends RootBean {
    /**
     * id
     */
    private Integer id;

    /**
     * 订单号 order_code
     */
    private Long orderCode;

    /**
     * 企业id（乙方） enterprise_id
     */
    private Integer enterpriseId;

    /**
     * 车辆id car_id
     */
    private Integer carId;

    /**
     * 车架号 vin
     */
    private String vin;

    /**
     * 车牌号 licence_plate
     */
    private String licencePlate;

    /**
     * 补缴费用 pay_fees
     */
    private BigDecimal payFees;

    /**
     * 过户备注 remark
     */
    private String remark;

    /**
     * 创建时间 gmt_create
     */
    private LocalDateTime gmtCreate;

    /**
     * 修改时间 gmt_modified
     */
    private LocalDateTime gmtModified;

    /**
     * orders_enterprise_car_transfer
     */
    private static final long serialVersionUID = 1L;

    /**
     * @return id
     * @date 2020-06-04 10:16:06
     */
    @Override
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     * @date 2020-06-04 10:16:06
     */
    @Override
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 订单号
     *
     * @return order_code 订单号
     * @date 2020-06-04 10:16:06
     */
    public Long getOrderCode() {
        return orderCode;
    }

    /**
     * 订单号
     *
     * @param orderCode 订单号
     * @date 2020-06-04 10:16:06
     */
    public void setOrderCode(Long orderCode) {
        this.orderCode = orderCode;
    }

    /**
     * 企业id（乙方）
     *
     * @return enterprise_id 企业id（乙方）
     * @date 2020-06-04 10:16:06
     */
    public Integer getEnterpriseId() {
        return enterpriseId;
    }

    /**
     * 企业id（乙方）
     *
     * @param enterpriseId 企业id（乙方）
     * @date 2020-06-04 10:16:06
     */
    public void setEnterpriseId(Integer enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    /**
     * 车辆id
     *
     * @return car_id 车辆id
     * @date 2020-06-04 10:16:06
     */
    public Integer getCarId() {
        return carId;
    }

    /**
     * 车辆id
     *
     * @param carId 车辆id
     * @date 2020-06-04 10:16:06
     */
    public void setCarId(Integer carId) {
        this.carId = carId;
    }

    /**
     * 车架号
     *
     * @return vin 车架号
     * @date 2020-06-04 10:16:06
     */
    public String getVin() {
        return vin;
    }

    /**
     * 车架号
     *
     * @param vin 车架号
     * @date 2020-06-04 10:16:06
     */
    public void setVin(String vin) {
        this.vin = vin == null ? null : vin.trim();
    }

    /**
     * 车牌号
     *
     * @return licence_plate 车牌号
     * @date 2020-06-04 10:16:06
     */
    public String getLicencePlate() {
        return licencePlate;
    }

    /**
     * 车牌号
     *
     * @param licencePlate 车牌号
     * @date 2020-06-04 10:16:06
     */
    public void setLicencePlate(String licencePlate) {
        this.licencePlate = licencePlate == null ? null : licencePlate.trim();
    }

    /**
     * 补缴费用
     *
     * @return pay_fees 补缴费用
     * @date 2020-06-04 10:16:06
     */
    public BigDecimal getPayFees() {
        return payFees;
    }

    /**
     * 补缴费用
     *
     * @param payFees 补缴费用
     * @date 2020-06-04 10:16:06
     */
    public void setPayFees(BigDecimal payFees) {
        this.payFees = payFees;
    }

    /**
     * 过户备注
     *
     * @return remark 过户备注
     * @date 2020-06-04 10:16:06
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 过户备注
     *
     * @param remark 过户备注
     * @date 2020-06-04 10:16:06
     */
    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    /**
     * 创建时间
     *
     * @return gmt_create 创建时间
     * @date 2020-06-04 10:16:06
     */
    @Override
    public LocalDateTime getGmtCreate() {
        return gmtCreate;
    }

    /**
     * 创建时间
     *
     * @param gmtCreate 创建时间
     * @date 2020-06-04 10:16:06
     */
    @Override
    public void setGmtCreate(LocalDateTime gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    /**
     * 修改时间
     *
     * @return gmt_modified 修改时间
     * @date 2020-06-04 10:16:06
     */
    @Override
    public LocalDateTime getGmtModified() {
        return gmtModified;
    }

    /**
     * 修改时间
     *
     * @param gmtModified 修改时间
     * @date 2020-06-04 10:16:06
     */
    @Override
    public void setGmtModified(LocalDateTime gmtModified) {
        this.gmtModified = gmtModified;
    }

    /**
     * @mbg.generated
     */
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        EnterpriseCarTransferBean other = (EnterpriseCarTransferBean) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
                && (this.getOrderCode() == null ? other.getOrderCode() == null : this.getOrderCode().equals(other.getOrderCode()))
                && (this.getEnterpriseId() == null ? other.getEnterpriseId() == null : this.getEnterpriseId().equals(other.getEnterpriseId()))
                && (this.getCarId() == null ? other.getCarId() == null : this.getCarId().equals(other.getCarId()))
                && (this.getVin() == null ? other.getVin() == null : this.getVin().equals(other.getVin()))
                && (this.getLicencePlate() == null ? other.getLicencePlate() == null : this.getLicencePlate().equals(other.getLicencePlate()))
                && (this.getPayFees() == null ? other.getPayFees() == null : this.getPayFees().equals(other.getPayFees()))
                && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()))
                && (this.getGmtCreate() == null ? other.getGmtCreate() == null : this.getGmtCreate().equals(other.getGmtCreate()))
                && (this.getGmtModified() == null ? other.getGmtModified() == null : this.getGmtModified().equals(other.getGmtModified()));
    }

    /**
     * @mbg.generated
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getOrderCode() == null) ? 0 : getOrderCode().hashCode());
        result = prime * result + ((getEnterpriseId() == null) ? 0 : getEnterpriseId().hashCode());
        result = prime * result + ((getCarId() == null) ? 0 : getCarId().hashCode());
        result = prime * result + ((getVin() == null) ? 0 : getVin().hashCode());
        result = prime * result + ((getLicencePlate() == null) ? 0 : getLicencePlate().hashCode());
        result = prime * result + ((getPayFees() == null) ? 0 : getPayFees().hashCode());
        result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
        result = prime * result + ((getGmtCreate() == null) ? 0 : getGmtCreate().hashCode());
        result = prime * result + ((getGmtModified() == null) ? 0 : getGmtModified().hashCode());
        return result;
    }

    /**
     * @mbg.generated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", orderCode=").append(orderCode);
        sb.append(", enterpriseId=").append(enterpriseId);
        sb.append(", carId=").append(carId);
        sb.append(", vin=").append(vin);
        sb.append(", licencePlate=").append(licencePlate);
        sb.append(", payFees=").append(payFees);
        sb.append(", remark=").append(remark);
        sb.append(", gmtCreate=").append(gmtCreate);
        sb.append(", gmtModified=").append(gmtModified);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}